import type { App } from 'vue'
import nContainer from './nContainer'
// 循环注册组件并被 vue.use ⽅法使⽤
const components = [nContainer]
export default {
install(app: App) {
components.map((item) => {
app.use(item)
})
}
}